<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    <script>
        const obj = Object.create(null,{
            name : {
                value : 'laowang',
                writable: false,
                enumerable : false,
                configurable : false,
            }
        })
        console.log("obj", obj);

        console.log("修改obj的name值", (obj.name = "xiaoli"), obj);

        for (let key in obj){
            console.log("枚举", key);
        }
        console.log("删除obj的name值", delete obj.name, obj);
    </script>
</body>
</html>